package com.company.project.common.utils;

import com.company.project.vo.KeyValueVo;

import java.util.List;

public class KeyValueUtils {
    public static KeyValueVo findKey(List<KeyValueVo> list ,String key){
        for (KeyValueVo keyValueVo : list) {
            if (keyValueVo!=null){
                if (key.equals(keyValueVo.getKey())){
                    return keyValueVo;
                }
            }
        }
        return null;
    }


}
